import Vue from 'vue'
import Vuex from 'vuex'
import cart from './cart.js'
import user from './user.js'

Vue.use(Vuex)

const store = new Vuex.Store({
	//购物车模块
	modules: {
		m_cart: cart,
		m_user: user
	}
})
export default store
